"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
if (!Array) {
  const _easycom_up_text2 = common_vendor.resolveComponent("up-text");
  const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
  const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
  const _easycom_up_button2 = common_vendor.resolveComponent("up-button");
  (_easycom_up_text2 + _easycom_up_radio2 + _easycom_up_radio_group2 + _easycom_up_button2)();
}
const _easycom_up_text = () => "../../../../../../node-modules/uview-plus/components/u-text/u-text.js";
const _easycom_up_radio = () => "../../../../../../node-modules/uview-plus/components/u-radio/u-radio.js";
const _easycom_up_radio_group = () => "../../../../../../node-modules/uview-plus/components/u-radio-group/u-radio-group.js";
const _easycom_up_button = () => "../../../../../../node-modules/uview-plus/components/u-button/u-button.js";
if (!Math) {
  (_easycom_up_text + _easycom_up_radio + _easycom_up_radio_group + _easycom_up_button)();
}
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
  __name: "index",
  setup(__props) {
    const PCSradiolist = common_vendor.reactive([
      {
        name: "0分(优秀):活动能力完全正常，与起病前活动能力无任何差异。",
        disabled: false
      },
      {
        name: "1分(良好):能自由走动及从事轻体力活动，包括一般家务或办公室工作，但不能从事较重的体力活动。",
        disabled: false
      },
      {
        name: "2分(一般):能自由走动及生活自理，但已丧失工作能力，日间不少于一半时间可以起床活动。",
        disabled: false
      },
      {
        name: "3分(较差):生活仅能部分自理，日间一半以上时间卧床或坐轮椅。",
        disabled: false
      },
      {
        name: "4分(极差):卧床不起，生活不能自理。",
        disabled: false
      }
    ]);
    const PCSradiovalue = common_vendor.ref("苹果");
    const groupChange = (n) => {
      console.log("groupChange", n);
    };
    const radioChange = (n) => {
      console.log("radioChange", n);
    };
    return (_ctx, _cache) => {
      return {
        a: common_vendor.p({
          text: "ECOG(体力状态)评分"
        }),
        b: common_vendor.p({
          type: "info",
          text: "是通过用户的体力状况，了解其一般健康状况和对治疗耐受能力的指标"
        }),
        c: common_vendor.f(PCSradiolist, (item, index, i0) => {
          return {
            a: common_vendor.o(radioChange, index),
            b: "de7ec2d2-3-" + i0 + ",de7ec2d2-2",
            c: common_vendor.p({
              ["custom-style"]: {
                marginBottom: "8px"
              },
              label: item.name,
              name: item.name,
              ["icon-size"]: "16",
              ["label-size"]: "16"
            }),
            d: index
          };
        }),
        d: common_vendor.o(groupChange),
        e: common_vendor.o(($event) => PCSradiovalue.value = $event),
        f: common_vendor.p({
          placement: "column",
          modelValue: PCSradiovalue.value
        }),
        g: common_vendor.p({
          type: "primary",
          text: "提交 "
        })
      };
    };
  }
});
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-de7ec2d2"]]);
wx.createPage(MiniProgramPage);
